package cn.edu.qzuie.artist.module.td.controller.admin.teacher.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.edu.qzuie.artist.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.edu.qzuie.artist.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 教师分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TeacherPageReqVO extends PageParam {

    @Schema(description = "部门编号", example = "1")
    private Long departId;

    @Schema(description = "工号", example = "2023032016")
    private String teacherNo;

    @Schema(description = "真实姓名", example = "王五")
    private String realName;

    @Schema(description = "性别", example = "男")
    private Integer gender;

    @Schema(description = "入职时间", example = "2009-09-09")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] hiredate;

    @Schema(description = "职称", example = "讲师")
    private Integer title;

    @Schema(description = "教师状态", example = "在职")
    private Integer teacherState;

}